package com.gxh.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("swiper")
public class Swiper implements Serializable {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("轮播图标题")
    private String title;
    @ApiModelProperty("轮播图图片地址")
    private String imgUrl;
    @ApiModelProperty("轮播图排序")
    private Integer sort;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
    @ApiModelProperty("更新人")
    private Long updateUser;
    @ApiModelProperty("创建人")
    private Long createUser;
}
